package timing.ukulele.common.dictionary;

public enum RoleEnum implements CodeValueEnum<Short> {
    SUPER((short) 1, "super"),
    ADMIN((short) 2, "admin"),
    USER((short) 3, "user");

    RoleEnum(Short code, String value) {
        this.code = code;
        this.value = value;
    }

    private Short code;
    private String value;

    @Override
    public Short getCode() {
        return code;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
